package com.lzx.lzxlibrary.bean;

/**
 * <pre>
 *     author : 张辉
 *     e-mail : 397243131@qq.com
 *     time   : 2021/07/28
 *     desc   :
 *     version: 1.0
 * </pre>
 */
public class LoginBean {


    /**
     * access_token : eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MzUyMjg2MDUsInVzZXIiOnsiaWQiOiIxIiwibmFtZSI6ImFkbWluIiwibmlja25hbWUiOiLnrqHnkIblkZgiLCJtb2JpbGUiOiIxNzc3MzQ2MzQ2MyJ9LCJ1c2VyX25hbWUiOiJhZG1pbiIsImp0aSI6Ijg3Y2NkMzBkLWUxYjgtNDkyOS1hYjgzLTE1YTY5ZWRiNWY5OSIsImNsaWVudF9pZCI6ImRldiIsInNjb3BlIjpbImRldiJdfQ.LcNWyL6987ogf8Mm90NC__pNO-9FekSXxN5BTRfdNHb-RZRWfu47stPT1yj3lJGjAWqOq7KTfNeeVbiHBUQzcWwbbIk7I-w4FrmHdeuDEeLMjJk3MQiPdGgarxmMauQgqy2yAGUBqPPg59k5a-wBaMdQwLZOHF2RQ7wTc0Zi1GxGAwLYSlHVNJKOGIRQK_J7TYU2wDJWZKOSjIWROuwgSOrSuWnxrcJpxDf1njuCFdUPZPWR7GdPniFXpYcRRsoQbc3r0N2uQCC1pTYWsHNtTmPHUhBnLCQT0KNLHzxXEsvcmStQ_A3dELqdaEd_Hdo_rziHPTXDGGgNUNn2L9bE4A
     * token_type : bearer
     * expires_in : 7775999
     * scope : dev
     * user : {"id":"1","name":"admin","nickname":"管理员","mobile":"17773463463"}
     * jti : 87ccd30d-e1b8-4929-ab83-15a69edb5f99
     */

    private String access_token;
    private String token_type;
    private int expires_in;
    private String scope;
    private UserBean user;
    private String jti;

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getToken_type() {
        return token_type;
    }

    public void setToken_type(String token_type) {
        this.token_type = token_type;
    }

    public int getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(int expires_in) {
        this.expires_in = expires_in;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public String getJti() {
        return jti;
    }

    public void setJti(String jti) {
        this.jti = jti;
    }

    public static class UserBean {
        /**
         * id : 1
         * name : admin
         * nickname : 管理员
         * mobile : 17773463463
         */

        private String id;
        private String name;
        private String nickname;
        private String mobile;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }
    }
}
